<!-- 页头 -->
<page-header-wrapper [title]="''" [logo]="logo">
  <ng-template #logo>
    <button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
      <i nz-icon nzType="left" nzTheme="outline"></i>
    </button>
  </ng-template>
</page-header-wrapper>
<nz-card>
  <div class="modal-header">
    <div class="modal-title" *ngIf="queryParams.type === 'add'">新增banner</div>
    <div class="modal-title" *ngIf="queryParams.type === 'edit'">编辑banner</div>
    <div class="modal-title" *ngIf="queryParams.type === 'view'">查看banner</div>
  </div>
    <sf #sf [schema]="schema" [ui]="ui" [button]="'none'" [formData]="detailData">
    </sf>
  <div class="modal-footer" *ngIf="queryParams.type !== 'view'">
    <button nz-button type="button" (click)="checkSort()" nzType="primary" [disabled]="validFalg">保存</button>
    <button nz-button type="button" (click)="goBack()">取消</button>
  </div>
</nz-card>
<!-- <nz-modal [(nzVisible)]="isVisible" nzTitle="The first Modal" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
  <baidu-map [inputAddress]="detailData.companyAddress" [inputPoint]="inputPoint" (outputPointAddress)="outputPointAddress($event)"></baidu-map>
</nz-modal> -->